* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #f3f5f7;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.w {
    width: 1200px;
    margin: 0 auto;
}

.header {
    height: 42px;
    margin: 30px auto;
    /*注意层叠性*/
}

.logo {
    float: left;
    width: 198px;
    height: 42px;
}

.nav {
    float: left;
    margin-left: 60px;
}

.nav ul li {
    float: left;
    margin: 0 15px;
}

.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    /*根据字数自动撑开盒子*/
    font-size: 18px;
    color: #050505;
    line-height: 42px;
    text-decoration: none;
}

.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}

.search {
    float: left;
    height: 42px;
    width: 412px;
    margin-left: 70px;
    background-color: skyblue;
}

.search input {
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}

.search button {
    float: left;
    width: 50px;
    height: 42px;
    background-color: #00a4ff;
    border: 0;
    background-image: url(images/搜索按钮.png);
}

.user {
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666;
}


/*banner开始*/

.banner {
    background-color: #1c036c;
    height: 421px;
}

.banner .w {
    height: 421px;
    background-image: url(images/banner2.png);
}

.subnav {
    float: left;
    width: 190px;
    height: 421px;
    background-color: rgba(0, 0, 0, 0.3);
}

.subnav ul li a {
    font-size: 14px;
    color: #ffff;
}

.subnav ul li {
    line-height: 45px;
    padding: 0 20px;
}

.subnav ul li a span {
    float: right;
}

.subnav ul li a:hover {
    color: #00a4ff;
}

.course {
    float: right;
    width: 230px;
    height: 300px;
    background-color: #fff;
    margin: 50px 0;
    /*浮动的盒子不存在外边距合并的问题*/
}

.course h2 {
    height: 48px;
    background-color: #9bceea;
    line-height: 48px;
    font-size: 18px;
    text-align: center;
}

.bd {
    padding: 20px;
}

.bd ul li {
    margin-bottom: 7px;
    height: 51px;
    border-bottom: 1px solid #eaeaea;
}

.bd ul li h4 {
    font-size: 16px;
    color: #4e4e4e;
}

.bd ul li p {
    font-size: 12px;
    color: #a5a5a5;
}

.course .more {
    margin-top: 5px;
    display: block;
    width: 188px;
    height: 40px;
    color: #58b8ff;
    line-height: 40px;
    text-align: center;
    border: 2px solid #00a4ff;
}

.course .more:hover {
    background-color: #00a4ff;
    color: #ffffff;
}


/*精品推荐模块开始*/

.goods {
    height: 60px;
    background-color: #fff;
    margin-top: 8px;
    line-height: 60px;
    box-shadow: 0 2px 3px 3px rgba(0, 0, 0, 0.1);
}

.goods h3 {
    float: left;
    margin-left: 30px;
    font-size: 16px;
    color: #00a4ff;
}

.goods ul {
    float: left;
}

.goods ul li {
    float: left;
}

.goods ul li a {
    margin: 0 30px;
    padding-left: 30px;
    color: #050505;
    font-size: 16px;
    text-align: center;
    border-left: 1px solid #ccc;
}

.goods ul li a:hover {
    color: #00a4ff;
}

.goods .mod {
    float: right;
    margin-right: 30px;
    color: #00a4ff;
    font-size: 14px;
}

.box .hd {
    height: 60px;
}

.box .hd h3 {
    float: left;
    color: #494949;
    line-height: 60px;
}

.box .hd a {
    float: right;
    color: #a5a5a5;
    line-height: 60px;
}

.box .hd a:hover {
    color: #00a4ff;
}


/*把li 的父亲ul修改的足够宽一行就可以全装下*/

.box .bd1 ul {
    width: 1225px;
}

.box .bd1 {
    overflow: hidden;
}

.box .bd1 ul li {
    float: left;
    width: 228px;
    height: 270px;
    margin-right: 15px;
    background-color: #ffffff;
}

.box .bd1 ul li img {
    width: 100%;
}

.box .bd1 ul li h4 {
    margin: 25px 20px 0 25px;
    color: #050505;
    font-size: 14px;
    font-weight: 400;
}

.info {
    float: left;
    margin-top: 21px;
    margin-left: 25px;
    color: #999999;
}

.box .bd1 ul li .info p {
    float: left;
    margin: 0 8px;
    font-size: 12px;
    color: #ff9159;
}

.box .bd1 ul li {
    font-size: 12px;
    color: #999999;
}

.box .bd1 ul li:hover {
    box-shadow: 0 10px 10px 10px rgba(0, 0, 0, 0.3);
}

.box2 {
    background-color: #f3f5f7;
    ;
}

.box2 .hd2 {
    height: 60px;
    margin-top: 20px;
}

.box2 .hd2 h3 {
    float: left;
    line-height: 60px;
    font-size: 20px;
    color: #494949;
}

.box2 .hd2 a {
    float: left;
    line-height: 60px;
    padding-left: 32px;
}

.box2 .hd2 ul li {
    margin-left: 350px;
}

.box2 .hd2 .more2 {
    margin-left: 495px;
}

.box2 .hd2 .more2:hover {
    color: #00a4ff;
}

.box2 .hd2 a {
    color: #868686;
    font-size: 16px;
}

.box2 .hd2 ul li a:hover {
    color: #00a4ff;
}

.box2 .bd2 .long2 {
    float: left;
}

.box2 .bd2 .width2 {
    float: left;
    margin-left: 15px;
}

.nav2 ul li h4 {
    height: 30px;
    margin: 24px 25px 0 25px;
    font-size: 14px;
    color: #050505;
    font-weight: 400;
}

.nav2 ul li {
    float: left;
    margin-left: 15px;
    margin-top: 22px;
    width: 228px;
    height: 270px;
    background-color: #fff;
}

.nav2 ul li:hover {
    box-shadow: 0 10px 10px 10px rgba(0, 0, 0, 0.3);
}

.nav2 .info2 p {
    float: left;
    color: #ff9159;
    margin: 0 0 0 24px;
}

.bd2 .nav2 .info2 {
    float: left;
    margin: 18px 0 0 11px;
    color: #a9a9a9;
    font-size: 12px;
}

.bd2 .nav2 ul li img {
    width: 100%;
}

.box2 .hd3 {
    height: 60px;
    margin-top: 20px;
}

.box2 {
    overflow: hidden;
}


/**/

.box .hd2 {
    height: 60px;
    margin-top: 20px;
}

.box .hd2 ul li a:hover {
    color: #00a4ff;
}

.box .hd2 ul li {
    float: left;
}

.box .hd2 {
    margin-left: 337px;
}

.box .hd2 ul li a {
    padding-left: 32px;
}

img {}


/*footer开始*/

.footer {
    margin-top: 40px;
    padding-top: 35px;
    height: 419px;
    background-color: #fff;
}

.copyright p {
    margin-top: 20px;
    font-size: 12px;
    color: #666666;
}

.copyright {
    float: left;
}

.copyright .app {
    margin-top: 16px;
    display: block;
    width: 116px;
    height: 33px;
    line-height: 33px;
    text-align: center;
    color: #00a4ff;
    border: 1px solid #00a4ff;
}

.links {
    float: right;
}

.links dl {
    margin-left: 146px;
    float: left;
}

.links dl dt {
    font-size: 16px;
}

.links dl dd a {
    color: #333333;
    font-size: 12px;
}

.footer .w .copyright .app:hover {
    background-color: #00a4ff;
    color: #fff;
}